<include file="Base/header" />
<form action="{:U()}" method="post" class="form-horizontal js-ajax-forms" enctype="multipart/form-data">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
    	<input type="hidden" name='id' value='{$_GET[id]}' />
        <tr>
            <th width="120">ip地址</th>
            <td><input class="input" type="text" size="40" name="post[ip]" value="{$info.ip}"/></td>
        </tr>
        <tr>
            <th>备注</th>
            <td><input class="input" type="text" size="80" name="post[remark]"  value="{$info.remark}"/></td>
        </tr>

    </table>
	<div class="commonBtnArea">
	    <button class="btn js-ajax-submit"  type='submit'>提交</button>
	    <a href="{:U('index')}" class="btn" >返回</a>
	</div>
</form>

<include file="Base/footer" />
<script type="text/javascript">


validateForm({
	      rule:{
	  		'post[ip]' : {required : 1},
	  		},
	      message:{
		'post[ip]' : {required : '请输入ip地址'}
	}
},"{:U('index')}")

  </script>
</body>
</html>